<%= form_for :load,:controller => "select_file", :action => "loadXML",   do |f| %>
  <%= f.error_messages %>
  <p>
  	<%= f.check_box :defaultChannels %>
  	Load defaul channels
  </p>
  <p>
  	<%= f.check_box :redbee %>
  	Files located in RedBee folder: <%= count = Dir.entries(File.join(Rails.root,"public",'XML','RedBee')).size - 2%> Files
  </p>
  <p>
  	<%= f.check_box :axels %>
  	Files located in AxelS folder: <%= count = Dir.entries(File.join(Rails.root,"public",'XML','AxelS')).size - 2%> Files
  </p>
  <p><%= f.submit "Load files"%></p>
<% end %>